import React from 'react';
import { connect } from 'dva';
import styles from './index.less';

const Title = ({ data, dispatch, title, children }) => {
  return (
    <div className={styles.container}>
      <div className={styles.title}>{title}</div>
      <div>{children}</div>
    </div>
  );
};
export default Title;
